/**
 * @summary 频道请求模块
 */

import req from '@/utils/request'
import * as URL from '@/constants/api'

// 所有频道数据
export function getChannelList() {
  return req ({
    url: URL.CHANNEL_LIST
  })
    .then(res => res.data.data.channels)
    .catch(() => [])
}


